package com.hrm.mapper;

import com.hrm.pojo.Users;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface UsersMapper {
    int deleteByPrimaryKey(Integer id);


    int insertSelective(Users record);

    Users selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

    Users selectByLoginName(String loginName) throws Exception;
}